const net = require("net")

const client = net.createConnection({
    port: 5555,
    host: "127.0.0.1",
    encoding: "utf8"
})

client.on("data", (data) => {
    console.log(data.toString());
    client.write("hello server")
})
